<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>移动端布局</title>
    <link rel="stylesheet" href="./lib/fa/css/font-awesome.css">
    <link rel="stylesheet" href="./lib/mui/css/mui.css">
    <link rel="stylesheet" href="./css/forPublic.css">
    <link rel="stylesheet" href="./css/conmon.css">
    <link rel="stylesheet" href="./css/searchList.css">
    <link rel="stylesheet" href="./css/search.css">
</head>

<body>
    <div class="le-tao">
        <!-- 头部 -->
        <div class="letao-top">
            <a href="#"><i class="mui-icon mui-icon-back"></i></a>
            <p>商品列表</p>
            <a href="#" style="background:none"><i class="mui-icon" ></i></a>
        </div>
        <!-- 主要内容区 -->
        <div class="letao-main">
            <div class="search-input mt-20">
                <input type="text" id="sh-input" placeholder="请输入关键字">
                <button type="button" class="mui-btn mui-btn-primary search-btn">搜索</button>
            </div>
            <div class="lt_sort">
                <a href="#">上架时间 <i class="fa fa-angle-down"></i></a>
                <a href="#" data-type="price">价格 <i class="fa fa-angle-down"></i></a>
                <a href="#" data-type="num">库存 <i class="fa fa-angle-down"></i></a>
                <a href="#">折扣 <i class="fa fa-angle-down"></i></a>
            </div>
            <!-- 商品展示区 -->
            <div class="product-display">
                <ul class="area-display">
                    <li>
                        <img src="./images/brand5.png">
                        <p class="txt-cut">mui中iOS平台的下拉刷新 （Android平台的下拉刷新使用的是双webview+原生滚动方案）
                        </p>
                        <span class="new">￥666</span>
                        <span class="old">$888</span>
                        <p class="qukliy-buy"><a href="#">立即购买</a></p>
                    </li>
                </ul>
            </div>
        </div>
        <!-- 底部区域 -->
        <div class="letao-footer">
            <a href="#" class="current-color"><i class="mui-icon mui-icon-home "></i><p>首页</p></a>
            <a href="./categry.html"><i class="mui-icon mui-icon-list"></i><p>分类</p></a>
            <a href="#"><i class="fa fa-shopping-cart"></i><p>购物车</p></a>
            <a href="#"><i class="mui-icon mui-icon-contact"></i><p>用户</p></a>
        </div>
    </div>
    <!-- 模板引擎创建 -->
    <script type="text/html" id="temp">
        {{each data v i}}
        <li data-id={{v.id}}>
            <img src="{{v.pic[0].picAddr}}">
            <p class="txt-cut">{{v.proName}}
            </p>
            <span class="new">{{v.price}}</span>
            <span class="old">${{v.oldPrice}}</span>
            <p class="qukliy-buy"><a href="#">立即购买</a></p>
        </li>
        {{/each}}
    </script>
    <script src="./lib/zepto/zepto.min.js"></script>
    <script src="./lib/artTemplate/template-web.js"></script>
    <script src="./lib/mui/js/mui.js"></script>
    <script src="./js/common.js"></script>
    <!-- <script src="./js/search.js"></script> -->
    <script src="./js/searchList.js"></script>
</body>

</html>